<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="table-responsive">
<table class="cntable table table-bordered dataTable table-claimApplyfor ">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:100px">申请人姓名</th>
			<th style="width:100px">申请状态</th>
			<th style="width:130px">申请时间</th>
			<th style="width:80px">理赔产品</th>
			<th style="width:80px">联系电话</th>
			<th style="width:100px">理赔订单号</th>
			<th style="width:130px">性别</th>
			<th style="width:100px">跟踪人</th>
			<th style="width:130px">跟踪时间</th>
			<th style="width:130px">跟踪状态</th>
			<th>需求描述</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="claimApplyfor" items="${claimApplyfors}" varStatus="status">
			<tr data-id="${claimApplyfor.id}">
				<td>${status.index+1}</td>
				<td>
				    ${claimApplyfor.name}
				</td>
				<td>
				 <t:provider packageName="claim" enumClassName="ApplyforType" value="${claimApplyfor.state}"/>     
				</td>
				<td>
				   <fmt:formatDate value="${claimApplyfor.createDate}" type="date" dateStyle="default" pattern="yyyy-MM-dd HH:mm:ss"/>  
				</td>
				<td>
                    ${claimApplyfor.product}
				</td>
				<td>
                    ${claimApplyfor.phone}
				</td>
				<td>${claimApplyfor.orderNum}</td>
				<td>
				    <t:provider packageName="default" enumClassName="SexStatus" value="${claimApplyfor.sex}"/> 
				</td>
				<td>${claimApplyfor.trackPeopleName}</td>
				<td>
				     <fmt:formatDate value="${claimApplyfor.trackDate}" type="date" dateStyle="default" pattern="yyyy-MM-dd HH:mm:ss"/>  	
				</td>
				<td>
				<c:choose>
				<c:when test="${claimApplyfor.trackState == null}">
				    <t:provider packageName="claim" enumClassName="TrackType" value="unTrack"/> 
				</c:when >
				<c:otherwise > 
			        <t:provider packageName="claim" enumClassName="TrackType" value="${claimApplyfor.trackState}"/> 
			    </c:otherwise>  
				</c:choose>
				</td>
				<td> ${claimApplyfor.comments}</td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th absolute-pos">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>
</div>

